//
//  LFBStartFlowLayout.m
//  loveFreshBeen
//
//  Created by Feng on 2017/7/9.
//  Copyright © 2017年 feng. All rights reserved.
//

#import "LFBStartFlowLayout.h"

@implementation LFBStartFlowLayout

- (void)prepareLayout
{
    self.itemSize = self.collectionView.bounds.size;
    
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    
    self.minimumLineSpacing = 0;
    
    self.minimumInteritemSpacing = 0;
    
    //设置collectionView的分页效果
    self.collectionView.pagingEnabled = YES;
    
    //设置弹簧效果为NO
    self.collectionView.bounces = NO;
    
    //设置collection 的水平滚动条为NO
    self.collectionView.showsHorizontalScrollIndicator = NO;
}

@end
